package com.fh.service.system.dictionaries;

import java.util.List;

import com.fh.model.system.SystemDictionary;
import com.fh.model.system.SystemDictionaryItem;
import com.fh.query.PageResult;
import com.fh.query.SystemDictionaryItemQueryObject;
import com.fh.query.SystemDictionaryQueryObject;

public interface ISystemDictionaryService {
	/**
	 *字典目录高级查询
	 * 
	 * @param qo
	 * @return
	 */
	PageResult queryDis(SystemDictionaryQueryObject qo);
	
	/**
	 *字典明细高级查询
	 * 
	 * @param qo
	 * @return
	 */
	PageResult queryItem(SystemDictionaryItemQueryObject qo);
	/**
	 * 
	 * 查询所有的数据字典目录
	 * @return
	 */
	List<SystemDictionary> selectAll();

	void saveOrUpdate(SystemDictionary dic);

	void saveOrUpdateItem(SystemDictionaryItem item);

	List<SystemDictionaryItem> selectItemBySn(String string);

    int deleteByisDel1(long id);

    int deleteByisDel3(long id);
}
